package com.jumi.microservice.dto.request;

import com.jumi.microservice.enums.*;
import com.jm.member.common.api.volidator.WrapperAnnon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel("通用用户查询条件")
public class BaseUserRequest implements Serializable {

    @ApiModelProperty(value = "会员昵称")
    @WrapperAnnon(queryType = "like",queryColumn = "name")
    private String name;

    @ApiModelProperty(value = "真实姓名")
    @WrapperAnnon(queryType = "like",queryColumn = "truename")
    private String trueName;

    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "性别")
    private SexEnum sex;
    @ApiModelProperty(value = "是否为聚米")
    private CommonEnum isJumi;
    @ApiModelProperty(value = "等级")
    private Integer level;
    @ApiModelProperty(value = "用户来源")
    private String client;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "qq号")
    private Integer qq;

    @ApiModelProperty(value = "微信号")
    private String wechatNum;

    @ApiModelProperty("创建开始时间")
    @WrapperAnnon(queryType = "ge",queryColumn = "create_time")
    private String beginTime;

    @ApiModelProperty("创建结束时间")
    @WrapperAnnon(queryType = "le",queryColumn = "create_time")
    private String endTime;

    @ApiModelProperty(value = "会员状态:allow_authorize'允许授权',allow_login'允许登录',allow_buy '允许购买'")
    @WrapperAnnon(queryColumn = "",queryType ="",flag = false)
    private String userStatus;

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getQq() {
        return qq;
    }

    public void setQq(Integer qq) {
        this.qq = qq;
    }

    public String getWechatNum() {
        return wechatNum;
    }

    public void setWechatNum(String wechatNum) {
        this.wechatNum = wechatNum;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }

    public CommonEnum getIsJumi() {
        return isJumi;
    }

    public void setIsJumi(CommonEnum isJumi) {
        this.isJumi = isJumi;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }
}
